Skip to content

[primer] Switch from JSONReporter to JSON2Reporter#10949

Merged
Pierre-Sassoulas merged 2 commits intomainfrom
refactor-comparator-api
Apr 2, 2026
Merged

[primer] Switch from JSONReporter to JSON2Reporter#10949
Pierre-Sassoulas merged 2 commits intomainfrom
refactor-comparator-api

Conversation

@Pierre-Sassoulas
Copy link
Copy Markdown
Member

Type of Changes

Type
🔨 Refactoring

Description

JSON2Reporter provides confidence, and absolutePath. Update all primer test fixtures accordingly and add a test case.

@Pierre-Sassoulas Pierre-Sassoulas added Maintenance Discussion or action around maintaining pylint or the dev workflow Skip news 🔇 This change does not require a changelog entry labels Apr 1, 2026
@github-actions

This comment has been minimized.

Constructor now takes pre-loaded PackageMessages dicts, making it
directly testable with in-memory data.  I/O and batch merging move to
a from_json() factory method; _load_json() becomes module-level.
@Pierre-Sassoulas Pierre-Sassoulas force-pushed the refactor-comparator-api branch from 5a6e813 to c028b74 Compare April 1, 2026 10:17
@github-actions

This comment has been minimized.

The old JSONReporter is deprecated; use JSON2Reporter which provides
confidence, absolutePath, and camelCase messageId fields.  Update all
primer test fixtures accordingly.
@Pierre-Sassoulas Pierre-Sassoulas force-pushed the refactor-comparator-api branch from b015b7b to 7943b25 Compare April 1, 2026 18:51
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 1, 2026

Codecov Report

❌ Patch coverage is 83.33333% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 96.17%. Comparing base (a5fd825) to head (7943b25).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
pylint/testutils/_primer/primer_run_command.py 20.00% 4 Missing ⚠️

❌ Your patch status has failed because the patch coverage (83.33%) is below the target coverage (100.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main   #10949   +/-   ##
=======================================
  Coverage   96.17%   96.17%           
=======================================
  Files         178      178           
  Lines       19637    19642    +5     
=======================================
+ Hits        18885    18890    +5     
  Misses        752      752           
Files with missing lines Coverage Δ
pylint/testutils/_primer/comparator.py 100.00% <100.00%> (ø)
pylint/testutils/_primer/primer_command.py 94.73% <100.00%> (ø)
pylint/testutils/_primer/primer_compare_command.py 94.02% <100.00%> (ø)
pylint/testutils/_primer/primer_run_command.py 30.76% <20.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 1, 2026

🤖 Effect of this PR on checked open source code: 🤖

Effect on astropy:

The following messages are now emitted:

Details
  1. docstring-first-line-empty:
    First line empty in module docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/__init__.py#L1
  2. import-outside-toplevel:
    Import outside toplevel (importlib.import_module)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/__init__.py#L53
  3. wrong-import-position:
    Import "from . import config as _config" should be placed at the top of the module
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/__init__.py#L64
  4. wrong-import-position:
    Import "from .version import version as version" should be placed at the top of the module
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/__init__.py#L65
  5. docstring-first-line-empty:
    First line empty in class docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/__init__.py#L68
  6. magic-value-comparison:
    Consider using a named constant or an enum instead of ''win32''.
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/__init__.py#L79
  7. wrong-import-position:
    Import "from .utils.state import ScienceState" should be placed at the top of the module
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/__init__.py#L110
  8. invalid-name:
    Class name "base_constants_version" doesn't conform to PascalCase naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/__init__.py#L113
  9. docstring-first-line-empty:
    First line empty in class docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/__init__.py#L113
  10. use-dict-literal:
    Consider using '{"test": 'test'}' instead of a call to 'dict'.
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/__init__.py#L120
  11. redefined-outer-name:
    Redefining name 'sys' from outer scope (line 9)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/__init__.py#L133
  12. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/__init__.py#L129
  13. reimported:
    Reimport 'sys' (imported line 9)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/__init__.py#L133
  14. import-outside-toplevel:
    Import outside toplevel (sys)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/__init__.py#L133
  15. magic-value-comparison:
    Consider using a named constant or an enum instead of ''astropy.units''.
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/__init__.py#L135
  16. magic-value-comparison:
    Consider using a named constant or an enum instead of ''astropy.constants''.
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/__init__.py#L137
  17. invalid-name:
    Class name "physical_constants" doesn't conform to PascalCase naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/__init__.py#L143
  18. docstring-first-line-empty:
    First line empty in class docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/__init__.py#L143
  19. use-dict-literal:
    Consider using '{"codata2022": 'codata2022', "codata2018": 'codata2018', "codata2014": 'codata2014', ... }' instead of a call to 'dict'.
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/__init__.py#L151
  20. invalid-name:
    Class name "astronomical_constants" doesn't conform to PascalCase naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/__init__.py#L163
  21. docstring-first-line-empty:
    First line empty in class docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/__init__.py#L163
  22. use-dict-literal:
    Consider using '{"iau2015": 'iau2015', "iau2012": 'iau2012', "astropyconst80": 'iau2015', ... }' instead of a call to 'dict'.
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/__init__.py#L171
  23. wrong-import-position:
    Import "from .tests.runner import TestRunner" should be placed at the top of the module
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/__init__.py#L182
  24. wrong-import-position:
    Import "from .logger import _init_log, _teardown_log" should be placed at the top of the module
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/__init__.py#L197
  25. wrong-import-position:
    Import "from types import ModuleType as module_type" should be placed at the top of the module
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/__init__.py#L201
  26. wrong-import-position:
    Import "from .utils.misc import find_api_page, online_docs_root, online_help" should be placed at the top of the module
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/__init__.py#L203
  27. magic-value-comparison:
    Consider using a named constant or an enum instead of ''_''.
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/__init__.py#L212
  28. undefined-loop-variable:
    Using possibly undefined loop variable 'varname'
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/__init__.py#L225
  29. wrong-import-order:
    standard import "types.ModuleType" should be placed before third party import "astropy.utils.system_info.system_info" and local imports ".config", "version.version", "utils.state.ScienceState", "tests.runner.TestRunner", "logger._init_log"
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/__init__.py#L201
  30. docstring-first-line-empty:
    First line empty in module docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/conftest.py#L1
  31. no-name-in-module:
    No name 'HAS_MATPLOTLIB' in module 'astropy.utils.compat.optional_deps'
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/conftest.py#L22
  32. import-error:
    Unable to import 'matplotlib'
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/conftest.py#L25
  33. missing-function-docstring:
    Missing function or method docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/conftest.py#L31
  34. import-error:
    Unable to import 'matplotlib'
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/conftest.py#L34
  35. import-outside-toplevel:
    Import outside toplevel (matplotlib.pyplot)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/conftest.py#L34
  36. missing-function-docstring:
    Missing function or method docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/conftest.py#L52
  37. import-outside-toplevel:
    Import outside toplevel (astropy.conf)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/conftest.py#L54
  38. import-outside-toplevel:
    Import outside toplevel (astropy.utils.iers.conf)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/conftest.py#L60
  39. protected-access:
    Access to a protected member _pytest_running of a client class
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/conftest.py#L64
  40. protected-access:
    Access to a protected member _xdg_config_home_orig of a client class
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/conftest.py#L78
  41. protected-access:
    Access to a protected member _xdg_cache_home_orig of a client class
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/conftest.py#L79
  42. import-outside-toplevel:
    Import outside toplevel (threadpoolctl.threadpool_limits)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/conftest.py#L98
  43. consider-using-assignment-expr:
    Use 'if (xdist_worker_count := os.environ.get('PYTEST_XDIST_WORKER_COUNT')) is not None:' instead
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/conftest.py#L103
  44. missing-function-docstring:
    Missing function or method docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/conftest.py#L110
  45. import-outside-toplevel:
    Import outside toplevel (astropy.conf)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/conftest.py#L112
  46. import-outside-toplevel:
    Import outside toplevel (astropy.utils.iers.conf)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/conftest.py#L118
  47. protected-access:
    Access to a protected member _pytest_running of a client class
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/conftest.py#L122
  48. protected-access:
    Access to a protected member _xdg_config_home_orig of a client class
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/conftest.py#L130
  49. protected-access:
    Access to a protected member _xdg_config_home_orig of a client class
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/conftest.py#L133
  50. protected-access:
    Access to a protected member _xdg_cache_home_orig of a client class
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/conftest.py#L135
  51. protected-access:
    Access to a protected member _xdg_cache_home_orig of a client class
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/conftest.py#L138
  52. unused-argument:
    Unused argument 'config'
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/conftest.py#L110
  53. too-complex:
    '_set_defaults' is too complex. The McCabe rating is 12
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L492
  54. invalid-name:
    Constant name "log" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L51
  55. docstring-first-line-empty:
    First line empty in class docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L54
  56. docstring-first-line-empty:
    First line empty in class docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L61
  57. docstring-first-line-empty:
    First line empty in class docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L70
  58. global-statement:
    Using the global statement
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L116
  59. too-many-try-statements:
    try clause contains 2 statements, expected at most 1
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L120
  60. protected-access:
    Access to a protected member _set_defaults of a client class
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L122
  61. global-statement:
    Using the global statement
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L136
  62. broad-exception-caught:
    Catching too general exception Exception
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L156
  63. too-many-try-statements:
    try clause contains 2 statements, expected at most 1
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L147
  64. protected-access:
    Access to a protected member _acquireLock of a client class
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L148
  65. no-member:
    Module 'logging' has no '_acquireLock' member
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L148
  66. too-many-try-statements:
    try clause contains 4 statements, expected at most 1
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L149
  67. invalid-name:
    Variable name "loggerDict" doesn't conform to snake_case naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L150
  68. consider-iterating-dictionary:
    Consider iterating the dictionary directly instead of calling .keys()
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L151
  69. magic-value-comparison:
    Consider using a named constant or an enum instead of ''astropy''.
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L152
  70. protected-access:
    Access to a protected member _releaseLock of a client class
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L155
  71. no-member:
    Module 'logging' has no '_releaseLock' member
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L155
  72. docstring-first-line-empty:
    First line empty in class docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L163
  73. arguments-renamed:
    Parameter 'fn' has been renamed to 'pathname' in overriding 'AstropyLogger.makeRecord' method
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L174
  74. arguments-renamed:
    Parameter 'lno' has been renamed to 'lineno' in overriding 'AstropyLogger.makeRecord' method
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L174
  75. too-many-arguments:
    Too many arguments (10/5)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L174
  76. too-many-positional-arguments:
    Too many positional arguments (10/5)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L174
  77. magic-value-comparison:
    Consider using a named constant or an enum instead of ''origin''.
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L189
  78. consider-using-assignment-expr:
    Use 'if (current_module := find_current_module(1, finddiff=[True, 'logging'])) is not None:' instead
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L191
  79. consider-ternary-expression:
    Consider rewriting as a ternary expression
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L221
  80. broad-exception-caught:
    Catching too general exception Exception
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L237
  81. inconsistent-return-statements:
    Either all return statements in a function should return an expression, or none of them should.
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L211
  82. missing-function-docstring:
    Missing function or method docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L248
  83. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L251
  84. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L266
  85. comparison-with-callable:
    Comparing against a callable, did you omit the parenthesis?
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L277
  86. while-used:
    Used while loop
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L293
  87. consider-ternary-expression:
    Consider rewriting as a ternary expression
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L298
  88. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L309
  89. no-else-return:
    Unnecessary "else" after "return", remove the "else" and de-indent the code inside it
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L318
  90. import-error:
    Unable to import 'IPython'
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L319
  91. import-outside-toplevel:
    Import outside toplevel (IPython.get_ipython)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L319
  92. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L325
  93. import-error:
    Unable to import 'IPython'
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L339
  94. import-outside-toplevel:
    Import outside toplevel (IPython.get_ipython)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L339
  95. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L364
  96. import-error:
    Unable to import 'IPython'
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L378
  97. import-outside-toplevel:
    Import outside toplevel (IPython.get_ipython)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L378
  98. comparison-with-callable:
    Comparing against a callable, did you omit the parenthesis?
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L383
  99. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L392
  100. no-self-use:
    Method could be a function
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L392
  101. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L398
  102. no-self-use:
    Method could be a function
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L398
  103. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L405
  104. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L452
  105. differing-param-doc:
    "filename" differing in parameter documentation
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L452
  106. differing-type-doc:
    "filename" differing in parameter type documentation
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L452
  107. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L492
  108. too-many-try-statements:
    try clause contains 2 statements, expected at most 1
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L519
  109. pointless-statement:
    Statement seems to have no effect
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L520
  110. too-many-try-statements:
    try clause contains 4 statements, expected at most 1
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L525
  111. consider-ternary-expression:
    Consider rewriting as a ternary expression
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L526
  112. use-implicit-booleaness-not-comparison-to-string:
    "log_file_path == ''" can be simplified to "not log_file_path", if it is strictly a string, as an empty string is falsey
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L526
  113. docstring-first-line-empty:
    First line empty in class docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L554
  114. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L561
  115. consider-ternary-expression:
    Consider rewriting as a ternary expression
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L565
  116. import-outside-toplevel:
    Import outside toplevel (utils.console.color_print)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L575
  117. missing-function-docstring:
    Missing function or method docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L600
  118. too-few-public-methods:
    Too few public methods (1/2)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L594
  119. unused-argument:
    Unused argument 'filter_level'
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L607
  120. unused-argument:
    Unused argument 'filter_origin'
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/logger.py#L607
  121. missing-module-docstring:
    Missing module docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/version.py#L1
  122. use-maxsplit-arg:
    Use name.split('.', maxsplit=1)[0] instead
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/version.py#L9
  123. missing-function-docstring:
    Missing function or method docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/version.py#L18
  124. redefined-outer-name:
    Redefining name 'version' from outer scope (line 4)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/version.py#L18
  125. broad-exception-caught:
    Catching too general exception Exception
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/version.py#L25
  126. too-many-try-statements:
    try clause contains 2 statements, expected at most 1
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/version.py#L21
  127. magic-value-comparison:
    Consider using a named constant or an enum instead of ''dev''.
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/version.py#L35
  128. redefined-outer-name:
    Redefining name 'os' from outer scope (line 28)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/__init__.py#L36
  129. docstring-first-line-empty:
    First line empty in function docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/__init__.py#L32
  130. import-outside-toplevel:
    Import outside toplevel (os)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/__init__.py#L36
  131. line-too-long:
    Line too long (107/100)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L416
  132. line-too-long:
    Line too long (107/100)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L460
  133. line-too-long:
    Line too long (107/100)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L520
  134. line-too-long:
    Line too long (103/100)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L561
  135. too-many-lines:
    Too many lines in module (1362/1000)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L1
  136. fixme:
    TODO: once we have a BaseBodyFrame, replace this with an isinstance check
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L242
  137. fixme:
    TODO: in future, we should think about how the following two functions can be
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L617
  138. missing-module-docstring:
    Missing module docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L1
  139. too-complex:
    '_wcs_to_celestial_frame_builtin' is too complex. The McCabe rating is 18
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L100
  140. too-complex:
    '_celestial_frame_to_wcs_builtin' is too complex. The McCabe rating is 11
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L203
  141. too-complex:
    'fit_wcs_from_points' is too complex. The McCabe rating is 15
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L1063
  142. import-error:
    Unable to import 'numpy'
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L6
  143. missing-function-docstring:
    Missing function or method docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L55
  144. use-dict-literal:
    Consider using '{"name": object_name, "representation_type": representation_type}' instead of a call to 'dict'.
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L59
  145. missing-function-docstring:
    Missing function or method docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L64
  146. use-dict-literal:
    Consider using '{"_equatorial_radius": equatorial_radius, "_flattening": flattening, ... }' instead of a call to 'dict'.
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L70
  147. docstring-first-line-empty:
    First line empty in function docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L74
  148. too-many-locals:
    Too many local variables (23/15)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L100
  149. redefined-outer-name:
    Redefining name 'ITRS' from outer scope (line 9)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L102
  150. redefined-outer-name:
    Redefining name 'SphericalRepresentation' from outer scope (line 9)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L102
  151. reimported:
    Reimport 'ITRS' (imported line 9)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L102
  152. reimported:
    Reimport 'SphericalRepresentation' (imported line 9)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L102
  153. import-outside-toplevel:
    Import outside toplevel (astropy.coordinates.FK4, astropy.coordinates.FK5, astropy.coordinates.ICRS, astropy.coordinates.ITRS, astropy.coordinates.FK4NoETerms, astropy.coordinates.Galactic, astropy.coordinates.SphericalRepresentation)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L102
  154. import-outside-toplevel:
    Import outside toplevel (astropy.time.Time)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L113
  155. consider-ternary-expression:
    Consider rewriting as a ternary expression
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L120
  156. use-implicit-booleaness-not-comparison-to-string:
    "radesys == ''" can be simplified to "not radesys", if it is strictly a string, as an empty string is falsey
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L129
  157. magic-value-comparison:
    Consider using a named constant or an enum instead of ''RA--''.
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L129
  158. magic-value-comparison:
    Consider using a named constant or an enum instead of ''DEC-''.
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L129
  159. magic-value-comparison:
    Consider using a named constant or an enum instead of '1984.0'.
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L132
  160. magic-value-comparison:
    Consider using a named constant or an enum instead of ''FK4''.
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L137
  161. magic-value-comparison:
    Consider using a named constant or an enum instead of ''FK4-NO-E''.
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L141
  162. magic-value-comparison:
    Consider using a named constant or an enum instead of ''FK5''.
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L145
  163. magic-value-comparison:
    Consider using a named constant or an enum instead of ''ICRS''.
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L149
  164. else-if-used:
    Consider using "elif" instead of "else" then "if" to remove one indentation level
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L152
  165. magic-value-comparison:
    Consider using a named constant or an enum instead of ''GLON''.
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L152
  166. magic-value-comparison:
    Consider using a named constant or an enum instead of ''GLAT''.
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L152
  167. magic-value-comparison:
    Consider using a named constant or an enum instead of ''TLON''.
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L154
  168. magic-value-comparison:
    Consider using a named constant or an enum instead of ''TLAT''.
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L154
  169. use-set-for-membership:
    Consider using set for membership test
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L161
  170. consider-iterating-dictionary:
    Consider iterating the dictionary directly instead of calling .keys()
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L161
  171. magic-value-comparison:
    Consider using a named constant or an enum instead of ''bodycentric''.
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L170
  172. no-member:
    Module 'astropy.units' has no 'm' member; maybe 'cm'?
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L178
  173. too-many-branches:
    Too many branches (22/12)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L100
  174. too-many-statements:
    Too many statements (56/50)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L100
  175. unused-variable:
    Unused variable 'object_name'
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L165
  176. unused-variable:
    Unused variable 'representation_type_name'
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L172
  177. redefined-outer-name:
    Redefining name 'ITRS' from outer scope (line 9)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L205
  178. reimported:
    Reimport 'ITRS' (imported line 9)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L205
  179. import-outside-toplevel:
    Import outside toplevel (astropy.coordinates.FK4, astropy.coordinates.FK5, astropy.coordinates.ICRS, astropy.coordinates.ITRS, astropy.coordinates.BaseRADecFrame, astropy.coordinates.FK4NoETerms, astropy.coordinates.Galactic)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L205
  180. protected-access:
    Access to a protected member _equatorial_radius of a client class
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L255
  181. protected-access:
    Access to a protected member _equatorial_radius of a client class
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L256
  182. protected-access:
    Access to a protected member _flattening of a client class
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L259
  183. too-many-branches:
    Too many branches (13/12)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L203
  184. missing-class-docstring:
    Missing class docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L273
  185. invalid-name:
    Class name "custom_wcs_to_frame_mappings" doesn't conform to PascalCase naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L273
  186. dangerous-default-value:
    Dangerous default value [] as argument
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L274
  187. redefined-builtin:
    Redefining built-in 'type'
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L282
  188. invalid-name:
    Class name "custom_frame_mappings" doesn't conform to PascalCase naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L287
  189. missing-class-docstring:
    Missing class docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L290
  190. invalid-name:
    Class name "custom_frame_to_wcs_mappings" doesn't conform to PascalCase naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L290
  191. dangerous-default-value:
    Dangerous default value [] as argument
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L291
  192. redefined-builtin:
    Redefining built-in 'type'
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L299
  193. docstring-first-line-empty:
    First line empty in function docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L303
  194. missing-type-doc:
    "wcs" missing in parameter type documentation
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L303
  195. consider-using-assignment-expr:
    Use 'if (frame := func(wcs)) is not None:' instead
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L334
  196. docstring-first-line-empty:
    First line empty in function docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L341
  197. missing-type-doc:
    "frame" missing in parameter type documentation
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L341
  198. consider-using-assignment-expr:
    Use 'if (wcs := func(frame, projection=projection)) is not None:' instead
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L404
  199. docstring-first-line-empty:
    First line empty in function docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L411
  200. docstring-first-line-empty:
    First line empty in function docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L455
  201. docstring-first-line-empty:
    First line empty in function docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L515
  202. magic-value-comparison:
    Consider using a named constant or an enum instead of '2'.
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L566
  203. consider-using-assignment-expr:
    Use 'if (pixarea := np.abs(np.linalg.det(cd))) == 0.0:' instead
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L570
  204. use-implicit-booleaness-not-comparison-to-zero:
    "pixarea == 0.0" can be simplified to "not pixarea", if it is strictly an int, as 0 is falsey
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L570
  205. invalid-name:
    Variable name "I" doesn't conform to snake_case naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L575
  206. docstring-first-line-empty:
    First line empty in function docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L581
  207. no-else-return:
    Unnecessary "else" after "return", remove the "else" and de-indent the code inside it
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L601
  208. no-member:
    Module 'astropy.units' has no 'deg' member; maybe 'dex'?
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L602
  209. docstring-first-line-empty:
    First line empty in function docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L607
  210. consider-using-tuple:
    Consider using an in-place tuple instead of list
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L613
  211. docstring-first-line-empty:
    First line empty in function docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L621
  212. missing-type-doc:
    "mode" missing in parameter type documentation
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L621
  213. magic-value-comparison:
    Consider using a named constant or an enum instead of '2'.
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L646
  214. magic-value-comparison:
    Consider using a named constant or an enum instead of '2'.
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L652
  215. too-many-try-statements:
    try clause contains 2 statements, expected at most 1
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L670
  216. magic-value-comparison:
    Consider using a named constant or an enum instead of ''all''.
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L678
  217. magic-value-comparison:
    Consider using a named constant or an enum instead of ''wcs''.
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L680
  218. too-many-arguments:
    Too many arguments (6/5)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L688
  219. too-many-positional-arguments:
    Too many positional arguments (6/5)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L688
  220. docstring-first-line-empty:
    First line empty in function docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L688
  221. missing-param-doc:
    "xp, yp" missing in parameter documentation
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L688
  222. missing-type-doc:
    "mode, xp, yp" missing in parameter type documentation
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L688
  223. import-outside-toplevel:
    Import outside toplevel (astropy.coordinates.SkyCoord, astropy.coordinates.UnitSphericalRepresentation)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L719
  224. magic-value-comparison:
    Consider using a named constant or an enum instead of '2'.
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L727
  225. magic-value-comparison:
    Consider using a named constant or an enum instead of '2'.
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L733
  226. magic-value-comparison:
    Consider using a named constant or an enum instead of ''all''.
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L744
  227. magic-value-comparison:
    Consider using a named constant or an enum instead of ''wcs''.
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L746
  228. consider-using-augmented-assign:
    Use '=' to do an augmented assign directly*
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L752
  229. consider-using-augmented-assign:
    Use '=' to do an augmented assign directly*
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L753
  230. docstring-first-line-empty:
    First line empty in function docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L762
  231. docstring-first-line-empty:
    First line empty in function docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L774
  232. docstring-first-line-empty:
    First line empty in function docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L804
  233. no-else-raise:
    Unnecessary "elif" after "raise", remove the leading "el" from "elif"
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L825
  234. use-implicit-booleaness-not-comparison-to-zero:
    "matches == 0" can be simplified to "not matches", if it is strictly an int, as 0 is falsey
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L825
  235. docstring-first-line-empty:
    First line empty in function docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L848
  236. while-used:
    Used while loop
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L875
  237. docstring-first-line-empty:
    First line empty in function docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L887
  238. docstring-first-line-empty:
    First line empty in function docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L949
  239. too-many-arguments:
    Too many arguments (6/5)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L984
  240. too-many-positional-arguments:
    Too many positional arguments (6/5)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L984
  241. docstring-first-line-empty:
    First line empty in function docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L984
  242. too-many-arguments:
    Too many arguments (8/5)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L1016
  243. too-many-positional-arguments:
    Too many positional arguments (8/5)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L1016
  244. too-many-locals:
    Too many local variables (24/15)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L1016
  245. redefined-outer-name:
    Redefining name 'u' from outer scope (line 8)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L1016
  246. import-outside-toplevel:
    Import outside toplevel (astropy.modeling.models.SIP)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L1030
  247. consider-using-enumerate:
    Consider using enumerate instead of iterating with range and len
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L1043
  248. too-many-locals:
    Too many local variables (35/15)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L1063
  249. redefined-outer-name:
    Redefining name 'u' from outer scope (line 8)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L1127
  250. docstring-first-line-empty:
    First line empty in function docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L1063
  251. missing-type-doc:
    "proj_point, xy" missing in parameter type documentation
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L1063
  252. import-error:
    Unable to import 'scipy.optimize'
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L1125
  253. import-outside-toplevel:
    Import outside toplevel (scipy.optimize.least_squares)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L1125
  254. reimported:
    Reimport 'astropy.units' (imported line 8)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L1127
  255. import-outside-toplevel:
    Import outside toplevel (astropy.units)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L1127
  256. import-outside-toplevel:
    Import outside toplevel (astropy.coordinates.SkyCoord)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L1128
  257. import-outside-toplevel:
    Import outside toplevel (wcs.Sip)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L1130
  258. magic-value-comparison:
    Consider using a named constant or an enum instead of ''center''.
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L1140
  259. magic-value-comparison:
    Consider using a named constant or an enum instead of ''center''.
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L1147
  260. consider-using-assignment-expr:
    Use 'if not (use_center_as_proj_point := str(proj_point) == 'center'):' instead
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L1149
  261. unidiomatic-typecheck:
    Use isinstance() rather than type() for a typecheck.
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L1181
  262. unnecessary-dunder-call:
    Unnecessarily calls dunder method delattr. Use del keyword.
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L1197
  263. unidiomatic-typecheck:
    Use isinstance() rather than type() for a typecheck.
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L1199
  264. unnecessary-lambda-assignment:
    Lambda expression assigned to a variable. Define a function using the "def" keyword instead.
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L1212
  265. magic-value-comparison:
    Consider using a named constant or an enum instead of ''-SIP''.
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L1254
  266. too-many-branches:
    Too many branches (15/12)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L1063
  267. too-many-statements:
    Too many statements (68/50)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L1063
  268. redefined-variable-type:
    Redefinition of wcs.wcs.crpix type from tuple to .ndarray
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L1248
  269. docstring-first-line-empty:
    First line empty in function docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L1307
  270. missing-type-doc:
    "obsgeo, obstime" missing in parameter type documentation
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L1307
  271. magic-value-comparison:
    Consider using a named constant or an enum instead of '6'.
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L1345
  272. use-implicit-booleaness-not-comparison-to-zero:
    "np.array(obsgeo) == 0" can be simplified to "not np.array(obsgeo)", if it is strictly an int, as 0 is falsey
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L1346
  273. consider-ternary-expression:
    Consider rewriting as a ternary expression
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L1355
  274. use-implicit-booleaness-not-comparison-to-zero:
    "obsgeo[:3] == 0" can be simplified to "not obsgeo[:3]", if it is strictly an int, as 0 is falsey
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L1355
  275. no-member:
    Module 'astropy.units' has no 'deg' member; maybe 'dex'?
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L1356
  276. no-member:
    Module 'astropy.units' has no 'deg' member; maybe 'dex'?
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L1356
  277. no-member:
    Module 'astropy.units' has no 'm' member; maybe 'cm'?
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L1356
  278. no-member:
    Module 'astropy.units' has no 'm' member; maybe 'cm'?
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/utils.py#L1360
  279. too-many-lines:
    Too many lines in module (3001/1000)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L1
  280. missing-module-docstring:
    Missing module docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L1
  281. redefined-builtin:
    Redefining built-in 'map'
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L1445
  282. redefined-builtin:
    Redefining built-in 'set'
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L1999
  283. missing-function-docstring:
    Missing function or method docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L18
  284. invalid-name:
    Function name "TWO_OR_MORE_ARGS" doesn't conform to snake_case naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L18
  285. redefined-outer-name:
    Redefining name 'naxis' from outer scope (line 1633)
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L18
  286. missing-function-docstring:
    Missing function or method docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L38
  287. invalid-name:
    Function name "RETURNS" doesn't conform to snake_case naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L38
  288. missing-function-docstring:
    Missing function or method docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L48
  289. invalid-name:
    Function name "ORIGIN" doesn't conform to snake_case naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L48
  290. missing-function-docstring:
    Missing function or method docstring
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L60
  291. invalid-name:
    Function name "RA_DEC_ORDER" doesn't conform to snake_case naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L60
  292. invalid-name:
    Constant name "a" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L73
  293. invalid-name:
    Constant name "a_order" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L84
  294. invalid-name:
    Constant name "a_radius" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L88
  295. invalid-name:
    Constant name "alt" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L149
  296. invalid-name:
    Constant name "ap" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L157
  297. invalid-name:
    Constant name "ap_order" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L166
  298. invalid-name:
    Constant name "b_radius" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L170
  299. invalid-name:
    Constant name "bdis_obs" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L175
  300. invalid-name:
    Constant name "blon_obs" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L180
  301. invalid-name:
    Constant name "blat_obs" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L186
  302. invalid-name:
    Constant name "c_radius" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L191
  303. invalid-name:
    Constant name "cel" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L196
  304. invalid-name:
    Constant name "Celprm" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L200
  305. invalid-name:
    Constant name "Prjprm" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L208
  306. invalid-name:
    Constant name "aux" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L216
  307. invalid-name:
    Constant name "Auxprm" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L220
  308. invalid-name:
    Constant name "axis_types" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L228
  309. invalid-name:
    Constant name "b" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L275
  310. invalid-name:
    Constant name "b_order" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L284
  311. invalid-name:
    Constant name "bounds_check" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L288
  312. invalid-name:
    Constant name "bp" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L309
  313. invalid-name:
    Constant name "bp_order" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L318
  314. invalid-name:
    Constant name "cd" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L322
  315. invalid-name:
    Constant name "cdelt" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L346
  316. invalid-name:
    Constant name "cdfix" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L359
  317. invalid-name:
    Constant name "cel_offset" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L376
  318. invalid-name:
    Constant name "celprm_phi0" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L383
  319. invalid-name:
    Constant name "celprm_theta0" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L390
  320. invalid-name:
    Constant name "celprm_ref" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L397
  321. invalid-name:
    Constant name "celprm_euler" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L434
  322. invalid-name:
    Constant name "celprm_latpreq" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L441
  323. invalid-name:
    Constant name "celprm_isolat" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L451
  324. invalid-name:
    Constant name "celprm_prj" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L458
  325. invalid-name:
    Constant name "prjprm_r0" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L464
  326. invalid-name:
    Constant name "prjprm_code" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L470
  327. invalid-name:
    Constant name "prjprm_pv" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L474
  328. invalid-name:
    Constant name "prjprm_pvi" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L493
  329. invalid-name:
    Constant name "prjprm_phi0" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L508
  330. invalid-name:
    Constant name "prjprm_theta0" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L514
  331. invalid-name:
    Constant name "prjprm_bounds" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L520
  332. invalid-name:
    Constant name "prjprm_name" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L536
  333. invalid-name:
    Constant name "prjprm_category" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L540
  334. invalid-name:
    Constant name "prjprm_w" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L554
  335. invalid-name:
    Constant name "prjprm_pvrange" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L565
  336. invalid-name:
    Constant name "prjprm_simplezen" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L571
  337. invalid-name:
    Constant name "prjprm_equiareal" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L575
  338. invalid-name:
    Constant name "prjprm_conformal" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L579
  339. invalid-name:
    Constant name "prjprm_global_projection" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings.py#L583
  340. invalid-name:
    Constant name "prjprm_divergent" doesn't conform to UPPER_CASE naming style
    https://github.com/astropy/astropy/blob/1fb40bc1f22f176254ef583065aa155f53f3b414/astropy/wcs/docstrings....

This comment was truncated because GitHub allows only 65536 characters in a comment.

This comment was generated for commit 7943b25

@DanielNoord
Copy link
Copy Markdown
Collaborator

Haven't looked at this yet, the primer comment looks worrying. Is this working as expected Pierre?

@Pierre-Sassoulas
Copy link
Copy Markdown
Member Author

The <details> seems to still not be working (following #10932). Adding a line (again?) make it works so maybe it need another new line... Regarding the primer result itself it's because right now a confidence that is not exactly the same means brand new message so ALL messages are new messages because the json reporter changed and confidence was added to all messages when it has no confidence before. (At some point it has to happen if we want to track it).

@Pierre-Sassoulas Pierre-Sassoulas merged commit 2d28041 into main Apr 2, 2026
43 of 44 checks passed
@Pierre-Sassoulas Pierre-Sassoulas deleted the refactor-comparator-api branch April 2, 2026 19:01
@Pierre-Sassoulas
Copy link
Copy Markdown
Member Author

Thank you for the review ! Next MR is finally time to make the primer pretty and see all the little primers examples change for the better 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Maintenance Discussion or action around maintaining pylint or the dev workflow Skip news 🔇 This change does not require a changelog entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants